#ifndef RRQUADRIC_H
#define RRQUADRIC_H

#include "rrprim.h"

class RRQuadric : public RRPrim
{
private:
    double A, B, C;
    RRVec3 cross;
    RRVec3 rrCalcNorm(double dz);

public:
    RRQuadric();
    void rrTrace(RRRay *ray, RRCrossInfo *arg);
};

#endif // RRQUADRIC_H
